package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description 运营商3要素核身认证请求对象
 * @date 2019-11-13 16:20
 */
@Data
@ApiModel(value = "运营商3要素核身认证请求对象", description = "运营商3要素核身认证请求对象")
public class ValidPersonTelecom3Req extends BaseReqObj {

    private static final long serialVersionUID = 328428481818469910L;

    @ApiModelProperty(value = "姓名", notes = "姓名", required = true)
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "身份证号", notes = "身份证号", required = true)
    @NotBlank(message = "身份证号不能为空")
    private String idNo;

    @ApiModelProperty(value = "手机号,仅限中国大陆11位手机号", notes = "手机号,仅限中国大陆11位手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String mobileNo;

    @ApiModelProperty(value = "对接方业务上下文id，将在异步通知及跳转时携带返回对接方", notes = "对接方业务上下文id，将在异步通知及跳转时携带返回对接方")
    private String contextId;

    @ApiModelProperty(value = "实名结束后异步通知地址", notes = "实名结束后异步通知地址")
    private String notifyUrl;

}
